Release 10.1A: OpenEdge Development:
Progress 4GL Reference
WRITE-CDATA( ) method
Adds a CDATA block to an XML document represented by a SAX-writer object.
Return type: LOGICAL Applies to: SAX-writer object handle
valueA LONGCHAR expression evaluating to the value of the CDATA block.
Call this method to add character data to the XML document. Character data in an XML document belongs exclusively in leaf nodes. (A leaf node is a bottom node; one that does not have any child nodes in a hierarchical tree structure, like an XML document.) Character data cannot appear outside of the root (document) node. The SAX-writer puts the block into the format of a CDATA section by adding the correct open and close tags. For example:
This method does not change the WRITE-STATUS attribute.
Note: The CHARACTER data is serialized and not escaped by the SAX-writer.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |